package ro.dandanciu.webgallery.util.email.framework.tests;

import java.util.Locale;

import junit.framework.TestCase;
import ro.dandanciu.webgallery.util.email.framework.EmailFromTemplate;
import ro.dandanciu.webgallery.util.email.framework.exceptions.NoSuchEmailTemplateException;

public class EmailFromTemplateTest extends TestCase {

    public void testEmailMessage() {
        try {
            new EmailFromTemplate("registration.request", Locale.ENGLISH, null);
        } catch (final NoSuchEmailTemplateException e) {
            fail(e.getMessage());
        }
    }

}
